<p>
  <span *ngFor="let start of starts; let i = index" class="glyphicon glyphicon-star "
   [class.glyphicon-star-empty]="start" (click)="clickStar(i)"></span>
  <span>{{rating |number:"1.0-2"}}星</span>
</p>